\subsection{newdes-\/sk.h File Reference}
\label{newdes-sk_8h}\index{newdes-\/sk.h@{newdes-\/sk.h}}


NEWDES-\/SK declarations.  


{\ttfamily \#include $<$types.h$>$}\par
\subsubsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define {\bf NEWDESSK\_\-KEY\_\-LEN}~15
\begin{DoxyCompactList}\small\item\em NEWDES-\/SK key size. \item\end{DoxyCompactList}\item 
\#define {\bf NEWDESSK\_\-BLOCK\_\-LEN}~8
\begin{DoxyCompactList}\small\item\em NEWDES-\/SK block length. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf newdessk\_\-enc} ({\bf iu8} $\ast$v, {\bf iu8} $\ast$k)
\begin{DoxyCompactList}\small\item\em NEWDES-\/SK encryption function. \item\end{DoxyCompactList}\item 
void {\bf newdessk\_\-dec} ({\bf iu8} $\ast$v, {\bf iu8} $\ast$k)
\begin{DoxyCompactList}\small\item\em NEWDES-\/SK decryption function. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
NEWDES-\/SK declarations. \begin{DoxyParagraph}{Id:}
\doxyref{newdes-\/sk.h}{p.}{newdes-sk_8h},v 1.1 2003/03/30 12:42:21 m Exp 
\end{DoxyParagraph}


\subsubsection{Define Documentation}
\index{newdes-\/sk.h@{newdes-\/sk.h}!NEWDESSK\_\-BLOCK\_\-LEN@{NEWDESSK\_\-BLOCK\_\-LEN}}
\index{NEWDESSK\_\-BLOCK\_\-LEN@{NEWDESSK\_\-BLOCK\_\-LEN}!newdes-sk.h@{newdes-\/sk.h}}
\paragraph[{NEWDESSK\_\-BLOCK\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define NEWDESSK\_\-BLOCK\_\-LEN~8}\hfill\label{newdes-sk_8h_a78ce1251bba5aa2cb5a9bae51b3c068c}


NEWDES-\/SK block length. 

\index{newdes-\/sk.h@{newdes-\/sk.h}!NEWDESSK\_\-KEY\_\-LEN@{NEWDESSK\_\-KEY\_\-LEN}}
\index{NEWDESSK\_\-KEY\_\-LEN@{NEWDESSK\_\-KEY\_\-LEN}!newdes-sk.h@{newdes-\/sk.h}}
\paragraph[{NEWDESSK\_\-KEY\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define NEWDESSK\_\-KEY\_\-LEN~15}\hfill\label{newdes-sk_8h_ac00ffa9196b77a8b42a544de3258e53e}


NEWDES-\/SK key size. 



\subsubsection{Function Documentation}
\index{newdes-\/sk.h@{newdes-\/sk.h}!newdessk\_\-dec@{newdessk\_\-dec}}
\index{newdessk\_\-dec@{newdessk\_\-dec}!newdes-sk.h@{newdes-\/sk.h}}
\paragraph[{newdessk\_\-dec}]{\setlength{\rightskip}{0pt plus 5cm}void newdessk\_\-dec (
\begin{DoxyParamCaption}
\item[{{\bf iu8} $\ast$}]{ v, }
\item[{{\bf iu8} $\ast$}]{ k}
\end{DoxyParamCaption}
)}\hfill\label{newdes-sk_8h_a8d52f79081a3b4d520b0e21ecf24d397}


NEWDES-\/SK decryption function. 

This function decrypts {\itshape v\/} with {\itshape k\/} and returns the decrypted data in {\itshape v\/}.


\begin{DoxyParams}{Parameters}
\item[{\em v}]Array of eight iu8 values containing the data block. \item[{\em k}]Array of 15 iu8 values containing the key. \end{DoxyParams}
\index{newdes-\/sk.h@{newdes-\/sk.h}!newdessk\_\-enc@{newdessk\_\-enc}}
\index{newdessk\_\-enc@{newdessk\_\-enc}!newdes-sk.h@{newdes-\/sk.h}}
\paragraph[{newdessk\_\-enc}]{\setlength{\rightskip}{0pt plus 5cm}void newdessk\_\-enc (
\begin{DoxyParamCaption}
\item[{{\bf iu8} $\ast$}]{ v, }
\item[{{\bf iu8} $\ast$}]{ k}
\end{DoxyParamCaption}
)}\hfill\label{newdes-sk_8h_a314c77c87cefb8e6645e28ef96d95e78}


NEWDES-\/SK encryption function. 

This function encrypts {\itshape v\/} with {\itshape k\/} and returns the encrypted data in {\itshape v\/}.


\begin{DoxyParams}{Parameters}
\item[{\em v}]Array of eight iu8 values containing the data block. \item[{\em k}]Array of 15 iu8 values containing the key. \end{DoxyParams}
